package ooday04;
/** 主人 */
public class Master {

    void feed(Animal1 animal1){
       animal1.eat();
       animal1.drink();

   }


    void feed(Dog dog){
        dog.eat();
    }
    void feed(Fish fish){
        fish.eat();
    }
    void feed(Chick chick){
        chick.eat();
    }
}
